<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:pt="http://xmlns.jcp.org/jsf/passthrough"
          
      xmlns:p="http://primefaces.org/ui">
    <h:head>
        <title>Login</title>
        <link rel="stylesheet" href="/JSFSession/public/css/cssFormulario.css"/>
        <link type="text/css" rel="stylesheet" href="style.css" media="screen" />
        <h:outputStylesheet library="css" name="jsfcrud.css"/>
    </h:head>
    <h:body>
        <section class="contenedorLogin">
            
            <div id="wrapper">
		<div id="wrappertop"></div>
                <h:form>
		<div id="wrappermiddle">

			<h2>Login</h2>

			<div id="username_input">

	
                            <p><p:inputText pt:placeholder="Usuario" value="#{mbLogin.usuario}" size="50"/></p>
				

			</div>

			<div id="password_input">

			
				
                            <p><p:password pt:placeholder="Contraseña" value="#{mbLogin.contrasenia}" size="50" /></p>
				
			
			</div>

                        

                        
                        <div id="submit" align="center">
				
                            <p:commandButton value="Ingresar" action="#{mbLogin.login()}" />
				
			</div>


                        <div id="mensaje" align="center">
                            <h:messages infoStyle="color: blue;list-style:none;" errorStyle="color:red;list-style:none;" />
                        </div>

		</div>

		<div id="wrapperbottom"></div>
		</h:form>
	</div>
            
           
    </section>
    </h:body>
</html>